package com.biscuit.page.basicservice.model.entities.mysql;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * @author mazihao
 */
@Getter
@Setter
@TableName(value = "sys_collection")
public class SysCollection extends BaseEntity {

    /**
     * 标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 地址
     */
    @TableField(value = "url")
    private String url;

    /**
     * 图标地址
     */
    @TableField(value = "icon_url")
    private String iconUrl;

    /**
     * 图标别名
     */
    @TableField(value = "icon_alias")
    private String iconAlias;

    /**
     * 用户Id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 排序
     */
    @TableField(value = "ordered")
    private Integer ordered;

}
